let path = require('path')
module.exports = {
    publicPath: './',
    devServer: {
        contentBase: path.resolve(__dirname, "dist"),
        port: 8080,
        open: true,
    },
    css: {
        loaderOptions: {
            css: {},
            postcss: {
                plugins: [
                    require('postcss-px2rem')({
                        remUnit: 37.5
                    })
                ]
            }
        }
    },
}